package com.hzdesk.media.koreabatchmatvector.bean;

import com.thoughtworks.xstream.annotations.XStreamAlias;

import java.io.Serializable;

/**
 * Created by Administrator on 2018/7/3.
 * 存储在Xml文件中的视频文件信息
 */
@XStreamAlias("file")
public class XmlVideoFile implements Serializable{

    private static final long serialVersionUID = 5213763119767639049L;
    private String name;
    private String realname;
    private long startTime;
    private long endTime;

    public XmlVideoFile(String name, String realname,long startTime, long endTime) {
        this.name = name;
        this.startTime = startTime;
        this.endTime = endTime;
        this.realname=realname;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public XmlVideoFile(String realname) {
        this.realname = realname;
    }

    @Override
    public String toString() {
        return "XmlVideoFile{" +
                "name='" + name + '\'' +
                ", realname='" + realname + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                '}';
    }
}
